﻿using GetClient_info;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Vision.AlgBase.InspeAlg
{
    [ServiceData(SeriveName = "句柄识别", Descri = "啥也不检测")]
    public class TempAlg : ToolBase
    {

        protected override bool Excute()
        {
            //测试算法
            string str = GetIntPtr();
            if (str.Contains("OK"))
            {
                string result = "";
                get_Controltext(ContorIntprt, ContorIntprt, ref result);
               
                ResultText = result;
                ErrLog = "";
                return true;
            }
            else
            {
                ErrLog = str;
            
                return false;
            }

        
        }
    }
   
}
